<template>
  <div class="login-button">
    <!-- lg-box -->
    <span class="loign-title" @click="lg"
      ><p>已有账号，去</p>
      <h2>登录</h2></span
    >
    <div class="conter">
      <label>
        <slot name="dtex"></slot>
      </label>
      <label>
        <slot name="dpwd"></slot>
      </label>
      <slot name="dr"></slot>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    lg() {
      this.$emit("lgb");
    },
  },
};
</script>
